package io.sxl.modules.generator.dao;

import io.sxl.modules.generator.entity.FamilyEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.sxl.modules.generator.entity.HouseEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-03-26 20:53:01
 */
@Mapper
public interface FamilyDao extends BaseMapper<FamilyEntity> {
	 FamilyEntity queryById(Integer id);

    List<HouseEntity> queryByUser(Map<String,Object> map);

    Integer queryByUserCount(Map<String,Object> map);
}
